package S07.first;

import java.util.Arrays;

public class F04 {
	public static void main(String[] args) {
		Student[]a= {
				new Student("20240102", "张三", 20, 1.75, 65.5),
				new Student("20240103", "李四", 21, 1.85, 66),
				new Student("20240101", "王五", 19, 1.80, 75.5)
		};
		Arrays.sort(a);
		for (Student student : a) {
			System.out.println(student);
		}
	}
}
